package com.ymj.netty.common;

/**
 *  @Description: netty服务端请求类
 *  @author: yanmj
 *  @Date: 2020-06-07
 */
public class ServerRequest {

    /*唯一id*/
    private Long id;
    /*data*/
    private Object content;
    /*要调用的方法全路径（全路径：com.ymj.server.controller.UserController.save）*/
    private String command;

    public String getCommand() {
        return command;
    }

    public void setCommand(String command) {
        this.command = command;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Object getContent() {
        return content;
    }

    public void setContent(Object content) {
        this.content = content;
    }
}
